Component({
    properties: {
        message: Object
    },
    data: {
        messageTitle: [ "系统消息", "活动通知", "订单通知", "积分变动", "会员授权注册成功通知" ]
    },
    methods: {
        toMessageDetails: function(e) {
            var t = e.currentTarget.dataset.messagetype, a = e.currentTarget.dataset.noticedetailid;
            2 == t ? wx.navigateTo({
                url: "/pages/message_activity/message_activity?messageType=".concat(t, "&noticeDetailId=").concat(a)
            }) : wx.navigateTo({
                url: "/pages/message_details/message_details?messageType=".concat(t, "&noticeDetailId=").concat(a)
            });
        }
    }
});